<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Behavior Test</title>
</head>
<body>
    <h1>Behavior Test Page</h1>
    <button id="testButton">Click Me</button>
    <a href="#section1">Go to Section 1</a>
    <a href="#section2">Go to Section 2</a>

    <script type="module">
        // 导入 behavior 模块
        import behavior from '../src/behavior/index.js';
        // 调用 behavior 函数
        behavior();
    </script>
</body>
</html>